﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Pages_main : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public void tuyen(string Tuyen)
    {
        Session["Tuyen"] = Tuyen;
        Response.Redirect("~/ProductDetail.aspx");
    }

    protected void imbtBacLieuToCanTho_Click(object sender, ImageClickEventArgs e)
    {
        tuyen("Bạc Liêu - Cần Thơ");  
    }
    protected void imbtCanThoToBacLieu_Click(object sender, ImageClickEventArgs e)
    {
        tuyen("Cần Thơ - Bạc Liêu");    
    }
    protected void imbtCanThoToHCM_Click(object sender, ImageClickEventArgs e)
    {
        tuyen("Cần Thơ - HCM"); 
    }
    protected void imbtHCMToCanTho_Click(object sender, ImageClickEventArgs e)
    {
        tuyen("HCM - Cần Thơ"); 
    }
    protected void imbtCanThotoHauGiang_Click(object sender, ImageClickEventArgs e)
    {
        tuyen("Cần Thơ - Hậu Giang"); 
    }
    protected void imbtHauGiangToCanTho_Click(object sender, ImageClickEventArgs e)
    {
        tuyen("Hậu Giang - Cần Thơ"); 
    }
}